package com.byt.consultation.api;


import com.byt.common.bean.ConsultaBean;
import com.byt.consultation.bean.BageNum;
import com.byt.consultation.bean.MainBanner;
import com.byt.netapi.bean.ResponseBean;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

public interface ConsultationApiInterface {

    @GET("expert/v1/consulation/records")
    Observable<ResponseBean<List<ConsultaBean>>> getConsultList(@QueryMap Map<String,Object> map);

    // 获取关注列表
    @GET("api/v1/recipe/comment")
    Observable<ResponseBean<BageNum>> getBageNum(@QueryMap Map<String,Object> map);

    @GET("api/v1/recipe/comment")
    Observable<ResponseBean<List<MainBanner>>> getMainBanner(@QueryMap Map<String,Object> map);
}